﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._XiangHe
{
    /// <summary>
    /// 出货检验单行表
    /// </summary>
    public class QcoqcLine : Entity<int>
    {
        /// <summary>
        /// 出货检测单头ID
        /// </summary>
        public int? QqcId { get; set; }

        /// <summary>
        /// 检测项ID
        /// </summary>
        public int? IndexId { get; set; }

        /// <summary>
        /// 检测项编码
        /// 长度：64
        /// </summary>
        public string? IndexCode { get; set; }

        /// <summary>
        /// 检测项名称
        /// 长度：255
        /// </summary>
        public string? IndexName { get; set; }

        /// <summary>
        /// 检测项类型
        /// 长度：64
        /// </summary>
        public string? IndexType { get; set; }

        /// <summary>
        /// 检测工具
        /// 长度：64
        /// </summary>
        public string? QcTool { get; set; }

        /// <summary>
        /// 检测方法
        /// 长度：500
        /// </summary>
        public string? CheckMethod { get; set; }

        /// <summary>
        /// 标准值
        /// </summary>
        public double? StanderVal { get; set; }

        /// <summary>
        /// 单位
        /// 长度：64
        /// </summary>
        public string? UnitOfMeasure { get; set; }

        /// <summary>
        /// 上限值
        /// </summary>
        public double? ThresholdMax { get; set; }

        /// <summary>
        /// 下限值
        /// </summary>
        public double? ThresholdMin { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public int? CrQuantity { get; set; }

        /// <summary>
        /// 主要数量
        /// </summary>
        public int? MajQuantity { get; set; }

        /// <summary>
        /// 次要数量
        /// </summary>
        public int? MinQuantity { get; set; }

        /// <summary>
        /// 备注
        /// 长度：500
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建者
        /// 长度：64
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// 长度：64
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
